package com.twb.system.entity.twbSequence.dto;

import java.io.Serializable;

import com.twb.core.base.entity.BaseEntity;

import io.swagger.annotations.ApiModelProperty;

/**
 * @Title  TwbSequence
 * @Description 序列表
 * 
 * @author DSY
 * @date 2020-12-24 14:55:12
 */
public class TwbSequenceDto extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 编号 */
	@ApiModelProperty(value = "编号")
	private String id;
	
	/** 名称 */
	@ApiModelProperty(value = "名称")
	private String name;

	/** 编码 */
	@ApiModelProperty(value = "编码")
	private String code;

	/** 前缀 */
	@ApiModelProperty(value = "前缀")
	private String prefix;
	
	/** 日期规则 */
	@ApiModelProperty(value = "日期规则")
	private String dateRule;
	
	/** 序列位数 */
	@ApiModelProperty(value = "序列位数")
	private Integer seqCount;
	
	/** 步长 */
	@ApiModelProperty(value = "步长")
	private Integer seqStep;

	/** 分隔符 */
	@ApiModelProperty(value = "分隔符")
	private String splitCode;
	
	/** 下一序列号 */
	@ApiModelProperty(value = "下一序列号")
	private Integer seqNext;
	
	@ApiModelProperty(value = "当前序列编码")
    private String currentCode;

	@ApiModelProperty(value = "是否自动刷新")
    private Integer autoRefresh;

	/** 编号 */
	public String getId() {
		return id;
	}

	/** 编号 */
	public void setId(String id) {
		this.id = id;
	}

	/** 名称 */
	public String getName() {
		return name;
	}

	/** 名称 */
	public void setName(String name) {
		this.name = name;
	}

	/** 编码 */
	public String getCode() {
		return code;
	}

	/** 编码 */
	public void setCode(String code) {
		this.code = code;
	}

	/** 前缀 */
	public String getPrefix() {
		return prefix;
	}

	/** 前缀 */
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public String getDateRule() {
		return dateRule;
	}

	public void setDateRule(String dateRule) {
		this.dateRule = dateRule;
	}

	public Integer getSeqCount() {
		return seqCount;
	}

	public void setSeqCount(Integer seqCount) {
		this.seqCount = seqCount;
	}

	public Integer getSeqStep() {
		return seqStep;
	}

	public void setSeqStep(Integer seqStep) {
		this.seqStep = seqStep;
	}

	public String getSplitCode() {
		return splitCode;
	}

	public void setSplitCode(String splitCode) {
		this.splitCode = splitCode;
	}

	public Integer getSeqNext() {
		return seqNext;
	}

	public void setSeqNext(Integer seqNext) {
		this.seqNext = seqNext;
	}

	public String getCurrentCode() {
		return currentCode;
	}

	public void setCurrentCode(String currentCode) {
		this.currentCode = currentCode;
	}

	public Integer getAutoRefresh() {
		return autoRefresh;
	}

	public void setAutoRefresh(Integer autoRefresh) {
		this.autoRefresh = autoRefresh;
	}
}